<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>个人资料 - 极简Todo系统</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.19/tailwind.min.css"
      rel="stylesheet"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    />
    <style>
      body {
        height: 100vh;
        padding-bottom: 83px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
          sans-serif;
        background-color: #f2f2f7;
      }

      .ios-status-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 44px;
        padding: 0 16px;
        font-size: 12px;
        font-weight: 600;
        color: #000;
        background-color: #ffffff;
      }

      .ios-tab-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 83px;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-top: 1px solid #e5e5e5;
      }

      .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 49px;
        font-size: 10px;
        color: #8e8e93;
      }

      .tab-item.active {
        color: #007aff;
      }

      .tab-item i {
        margin-bottom: 4px;
        font-size: 24px;
      }

      .profile-header {
        display: flex;
        align-items: center;
        padding: 24px 16px;
        margin-bottom: 20px;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      }

      .avatar {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        margin-right: 16px;
        overflow: hidden;
        background-color: #e5e5ea;
        border-radius: 40px;
      }

      .menu-card {
        margin-bottom: 20px;
        overflow: hidden;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      }

      .menu-item {
        display: flex;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #e5e5e5;
      }

      .menu-item:last-child {
        border-bottom: none;
      }

      .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-right: 12px;
        color: white;
        border-radius: 8px;
      }
    </style>
  </head>
  <body>
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
      <div>9:41</div>
      <div class="flex space-x-2">
        <i class="fas fa-signal"></i>
        <i class="fas fa-wifi"></i>
        <i class="fas fa-battery-full"></i>
      </div>
    </div>

    <div class="p-4">
      <div class="profile-header">
        <div class="avatar">
          <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="用户头像" />
        </div>
        <div>
          <h2 class="text-xl font-semibold">张三</h2>
          <p class="text-gray-500">zhangsan@example.com</p>
          <button class="mt-2 text-blue-500 text-sm">编辑资料</button>
        </div>
      </div>

      <div class="menu-card">
        <div class="menu-item">
          <div class="menu-icon" style="background-color: #ff9500">
            <i class="fas fa-chart-pie"></i>
          </div>
          <div class="flex-1">统计分析</div>
          <i class="fas fa-chevron-right text-gray-400"></i>
        </div>

        <div class="menu-item">
          <div class="menu-icon" style="background-color: #34c759">
            <i class="fas fa-sync"></i>
          </div>
          <div class="flex-1">数据同步</div>
          <i class="fas fa-chevron-right text-gray-400"></i>
        </div>

        <div class="menu-item">
          <div class="menu-icon" style="background-color: #007aff">
            <i class="fas fa-bell"></i>
          </div>
          <div class="flex-1">通知设置</div>
          <i class="fas fa-chevron-right text-gray-400"></i>
        </div>
      </div>

      <div class="menu-card">
        <div class="menu-item">
          <div class="menu-icon" style="background-color: #5856d6">
            <i class="fas fa-moon"></i>
          </div>
          <div class="flex-1">深色模式</div>
          <div class="relative inline-block w-10 mr-2 align-middle select-none">
            <input
              type="checkbox"
              name="toggle"
              id="darkMode"
              class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer"
            />
            <label
              for="darkMode"
              class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"
            ></label>
          </div>
        </div>

        <div class="menu-item">
          <div class="menu-icon" style="background-color: #ff2d55">
            <i class="fas fa-lock"></i>
          </div>
          <div class="flex-1">隐私设置</div>
          <i class="fas fa-chevron-right text-gray-400"></i>
        </div>

        <div class="menu-item">
          <div class="menu-icon" style="background-color: #af52de">
            <i class="fas fa-language"></i>
          </div>
          <div class="flex-1">语言</div>
          <div class="text-gray-500">简体中文</div>
          <i class="fas fa-chevron-right text-gray-400 ml-2"></i>
        </div>
      </div>

      <div class="menu-card">
        <div class="menu-item">
          <div class="menu-icon" style="background-color: #ff9500">
            <i class="fas fa-star"></i>
          </div>
          <div class="flex-1">评价应用</div>
          <i class="fas fa-chevron-right text-gray-400"></i>
        </div>

        <div class="menu-item">
          <div class="menu-icon" style="background-color: #34c759">
            <i class="fas fa-question-circle"></i>
          </div>
          <div class="flex-1">帮助与反馈</div>
          <i class="fas fa-chevron-right text-gray-400"></i>
        </div>

        <div class="menu-item">
          <div class="menu-icon" style="background-color: #007aff">
            <i class="fas fa-info-circle"></i>
          </div>
          <div class="flex-1">关于</div>
          <div class="text-gray-500">v1.0.0</div>
          <i class="fas fa-chevron-right text-gray-400 ml-2"></i>
        </div>
      </div>

      <button class="w-full py-3 text-red-500 font-medium bg-white rounded-lg shadow-sm mt-4">
        退出登录
      </button>
    </div>

    <!-- iOS 底部导航栏 -->
    <div class="ios-tab-bar">
      <a href="home.html" class="tab-item">
        <i class="fas fa-tasks"></i>
        <span>任务</span>
      </a>
      <a href="pomodoro.html" class="tab-item">
        <i class="fas fa-clock"></i>
        <span>番茄钟</span>
      </a>
      <a href="finance.html" class="tab-item">
        <i class="fas fa-wallet"></i>
        <span>财务</span>
      </a>
      <a href="notes.html" class="tab-item">
        <i class="fas fa-sticky-note"></i>
        <span>笔记</span>
      </a>
      <a href="profile.html" class="tab-item active">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </a>
    </div>
  </body>
</html>
